Skip to content

Conversation

@maraf
Copy link
Member

@maraf maraf commented Dec 6, 2025

Regression from #120330
Mitigates #122255

In the previous I have removed logic for "Generate Wasm AppBundle" from browser specific targets and removed setting the WasmGenerateAppBundle=false, because it should not do anything for browser. In the common targets we have a logic to compute run arguments, working dir and command. If WasmGenerateAppBundle=true this logic kicks in.

@maraf maraf added this to the 11.0.0 milestone Dec 6, 2025
@maraf maraf self-assigned this Dec 6, 2025
Copilot AI review requested due to automatic review settings December 6, 2025 09:06
@maraf maraf requested a review from akoeplinger as a code owner December 6, 2025 09:06
@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm labels Dec 6, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR mitigates a regression from PR #120330 by setting WasmGenerateAppBundle=false for browser-wasm projects. This prevents the automatic generation of run arguments that would otherwise be set when WasmGenerateAppBundle is true (as configured on lines 241-249 of the same file).

Key Changes:

  • Added a new property assignment that sets WasmGenerateAppBundle=false specifically when RuntimeIdentifier is browser-wasm
  • This assignment is placed before the existing general rule (line 178) to ensure it takes precedence

@maraf maraf merged commit 457d340 into dotnet:main Dec 6, 2025
48 checks passed
@maraf maraf deleted the BrowserWasmRunWorkingDir branch December 6, 2025 19:12
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants